﻿<UserControl x:Class="Kokomo.Environment.Hosting.AboutDocumentView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
			 xmlns:env="clr-namespace:Kokomo.Environment"
             d:DesignHeight="300" d:DesignWidth="300">
	<Border Style="{DynamicResource {x:Static env:EditorStyleKeys.SectionBorderStyleKey}}">
		<FlowDocumentScrollViewer>
			<FlowDocument
				FontFamily="Tahoma"
				>
				<Paragraph>
					<Run FontSize="20" Text="{Binding ProductName, Mode=OneWay}"/>
				</Paragraph>
				<Paragraph>
					<Run FontWeight="Bold" Text="{Binding CopyrightText, Mode=OneWay}"/>
				</Paragraph>
				<Paragraph>
					<Run>Version</Run>
					<Run Text="{Binding VersionText, Mode=OneWay}"/>
				</Paragraph>
				
				<Paragraph>
					<Run>For more information and to stay current, be sure to visit the project homepage!</Run>
					<LineBreak/>
					<Hyperlink NavigateUri="{Binding ProductUrl}" Click="ProductUrl_Click">
						<Run Text="{Binding ProductUrl, Mode=OneWay}"/>
					</Hyperlink>
				</Paragraph>
			</FlowDocument>
		</FlowDocumentScrollViewer>
	</Border>
</UserControl>
